module.exports = {
  pluginOptions: {
    electronBuilder: {
      builderOptions: {
        appId: 'cc.nabi.websocket',
        productName: 'Websocket Tool',
        copyright: 'Copyright © 2022',
        win: {
          icon: './public/logo.ico'
        },
        nsis: {
          shortcutName: 'Websocket Tool',
          oneClick: false,
          allowElevation: true,
          allowToChangeInstallationDirectory: true,
          perMachine: true,
          installerIcon: './public/logo.ico',
          uninstallerIcon: './public/logo.ico',
          installerHeaderIcon: './public/logo.ico',
          createDesktopShortcut: true,
          createStartMenuShortcut: true
        },
        publish: [
          {
            provider: 'generic',
            url: 'http://127.0.0.1:8000/'
          }
        ]
      }
    }
  }
}
